﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace StringCapitalizeFirstLetter
{
    static class Program
    {
        public static string CapitalizeFirstLetters(this string str)
        {
            TextInfo myTI = new CultureInfo("en-US", false).TextInfo;
            return myTI.ToTitleCase(str);
        }

        static void Main()
        {
            string str = "my new string is awesome!";
            Console.WriteLine(str.CapitalizeFirstLetters());
        }
    }
}
